/*--------------------------------*- C++ -*----------------------------------*\
  | =========                 |                                                 |
  | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
  |  \\    /   O peration     | Version:  2.3.0                                 |
  |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
  |    \\/     M anipulation  |                                                 |
  \*---------------------------------------------------------------------------*/
FoamFile
{
  version     2.0;
  format      ascii;
  class       dictionary;
  object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1; // feet to meters

R   1.2;
x   #calc "$R*cos(Foam::constant::mathematical::pi/180.0)";
y   #calc "$R*sin(Foam::constant::mathematical::pi/180.0)";
ny  #calc "-$R*sin(Foam::constant::mathematical::pi/180.0)";
z   #calc "$R*sin(Foam::constant::mathematical::pi/180.0) + 1.2";
nz  #calc "-$R*sin(Foam::constant::mathematical::pi/180.0) + 1.2";


vertices
(
    (0 0 1.2)
    ($x $ny $nz)
    ($x $y  $nz)
    ($x $ny $z)
    ($x $y  $z)
);

blocks
(
    hex (0 1 2 0 0 3 4 0) (600 1 1) simpleGrading (1 1 1) // only multiply by 2
);

edges
(
);

boundary
(
    wedge0
    {
        type wedge;
        faces
        (
            (0 1 2 0)
        );
    }
    wedge1
    {
        type wedge;
        faces
        (
            (0 3 4 0)
        );
    }
    wedge2
    {
        type wedge;
        faces
        (
            (0 2 4 0)
        );
    }
    wedge3
    {
        type wedge;
        faces
        (
            (0 1 3 0)
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (1 2 4 3)
        );
    }
 );

mergePatchPairs
(
);

// ************************************************************************* //
